package com.ruoyi.project.km.projectManager.domain;

import java.sql.Date;
import java.util.Objects;

public class KmPro {
    private Integer proId; //项目编号
    private String proName;//项目名称
    private Date startTime;//开始时间
    private Date endTime;//结束时间
    private String proSyno;//项目简介
    private Integer prettyPro;//是否标杆  1:是  0:否
    private Integer proType;//项目类型  1:软装  0:硬装
    private String proStyle;//项目风格
    private Integer proSort;//排序
    private Integer proState;//项目状态  1:新项目 2:未完工  3:已完工 4:未验收  5:已验收
    private Integer cusId;//客户编号

    public KmPro() {
    }

    public KmPro(Integer proId, String proName, Date startTime, Date endTime, String proSyno,
                 Integer prettyPro, Integer proType, String proStyle, Integer proSort,
                 Integer proState, Integer cusId) {
        this.proId = proId;
        this.proName = proName;
        this.startTime = startTime;
        this.endTime = endTime;
        this.proSyno = proSyno;
        this.prettyPro = prettyPro;
        this.proType = proType;
        this.proStyle = proStyle;
        this.proSort = proSort;
        this.proState = proState;
        this.cusId = cusId;
    }

    public Integer getProId() {
        return proId;
    }

    public void setProId(Integer proId) {
        this.proId = proId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getProSyno() {
        return proSyno;
    }

    public void setProSyno(String proSyno) {
        this.proSyno = proSyno;
    }

    public Integer getPrettyPro() {
        return prettyPro;
    }

    public void setPrettyPro(Integer prettyPro) {
        this.prettyPro = prettyPro;
    }

    public Integer getProType() {
        return proType;
    }

    public void setProType(Integer proType) {
        this.proType = proType;
    }

    public String getProStyle() {
        return proStyle;
    }

    public void setProStyle(String proStyle) {
        this.proStyle = proStyle;
    }

    public Integer getProSort() {
        return proSort;
    }

    public void setProSort(Integer proSort) {
        this.proSort = proSort;
    }

    public Integer getProState() {
        return proState;
    }

    public void setProState(Integer proState) {
        this.proState = proState;
    }

    public Integer getCusId() {
        return cusId;
    }

    public void setCusId(Integer cusId) {
        this.cusId = cusId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        KmPro kmPro = (KmPro) o;
        return Objects.equals(proId, kmPro.proId) &&
                Objects.equals(proName, kmPro.proName) &&
                Objects.equals(startTime, kmPro.startTime) &&
                Objects.equals(endTime, kmPro.endTime) &&
                Objects.equals(proSyno, kmPro.proSyno) &&
                Objects.equals(prettyPro, kmPro.prettyPro) &&
                Objects.equals(proType, kmPro.proType) &&
                Objects.equals(proStyle, kmPro.proStyle) &&
                Objects.equals(proSort, kmPro.proSort) &&
                Objects.equals(proState, kmPro.proState) &&
                Objects.equals(cusId, kmPro.cusId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(proId, proName, startTime, endTime, proSyno, prettyPro, proType, proStyle, proSort, proState, cusId);
    }

    @Override
    public String toString() {
        return "KmPro{" +
                "proId=" + proId +
                ", proName='" + proName + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", proSyno='" + proSyno + '\'' +
                ", prettyPro=" + prettyPro +
                ", proType=" + proType +
                ", proStyle='" + proStyle + '\'' +
                ", proSort=" + proSort +
                ", proState=" + proState +
                ", cusId=" + cusId +
                '}';
    }
}
